package com.love.netty.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.love.netty.mapper.WebUserMapper;
import com.love.netty.model.WebUser;
import com.love.netty.model.req.LoginReq;
import com.love.netty.service.IWebUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * web端用户 服务实现类
 * </p>
 *
 * @author wuj
 * @since 2021-06-30
 */
@Service
public class WebUserServiceImpl extends ServiceImpl<WebUserMapper, WebUser> implements IWebUserService {

    @Autowired
    private WebUserMapper webUserMapper;

    @Override
    public WebUser getWebUserByLogin(LoginReq loginReq) {
        return webUserMapper.getWebUserByLogin(loginReq);
    }
}
